package com.ruoyi.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.ruoyi.entity.po.TPlayerTweets;
import com.ruoyi.mapper.TPlayerTweetsMapper;
import com.ruoyi.service.TPlayerTweetsService;

import java.util.List;

/**
 * @author chenhainan
 * @since 2024-12-09 20:57
 */
@Service
public class TPlayerTweetsServiceImpl implements TPlayerTweetsService{

    @Autowired
    private TPlayerTweetsMapper tPlayerTweetsMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tPlayerTweetsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TPlayerTweets record) {
        return tPlayerTweetsMapper.insert(record);
    }

    @Override
    public int insertSelective(TPlayerTweets record) {
        return tPlayerTweetsMapper.insertSelective(record);
    }

    @Override
    public TPlayerTweets selectByPrimaryKey(Integer id) {
        return tPlayerTweetsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TPlayerTweets record) {
        return tPlayerTweetsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TPlayerTweets record) {
        return tPlayerTweetsMapper.updateByPrimaryKey(record);
    }

    @Override
    public int deleteByPrimaryKeys(Integer[] ids) {
        return tPlayerTweetsMapper.deleteByPrimaryKeys(ids);
    }

    @Override
    public List<TPlayerTweets> selectTweetsList(TPlayerTweets playerTweets) {
        return tPlayerTweetsMapper.selectTweetsList(playerTweets);
    }

}
